{# Whether the size picked has room for the stack (overseer_deploy_form.fit_panel, deploy_fit): memory, CPU and disk as bars under its verdict, each toned and saying why. A bar's solid part is in use now, its dashed outline the limits (memory's one piece per service, named on hover), its line this server; loading, it asks again until the deploy agent has measured the stack. #} {% from "components/macros/layout.html" import badge %} {% from "pages/overseer/deployments/_macros.html" import panel %} {% call panel("fit", f, "Measuring what the stack takes…", "Could not tell whether it fits: ") %} {# Its verdict, the bars folded under it (open when it does not fit). #}
Will it fit? {{ badge(f.headline, f.verdict) }}
{% for r in f.rows %}

{{ r.label }}{{ r.figures }}

{% if r.solid is not none %}{% endif %} {% for g in r.segments or () %}{{ g.title }}{% endfor %} {% if r.dashed is not none %}{% endif %}

{{ r.why }}

{% endfor %}

{{ f.note }}

{% endcall %}